﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class gold_eGoldDetail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            CMSModel.CMSEntities dal = DAL.DBManager.GetCmsEmtity();
        
            string strCol = Request["col"].ToString(); 
            int iId = int.Parse(Request["id"].ToString());
            //CMSModel.News
            CMSModel.eGold_Info info = dal.eGold_Info.First(x => x.id == iId);
            this.content.InnerHtml = info.content.ToString();
        }
    }
}